package com.mallcloud.mall.mall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mallcloud.mall.mall.api.entity.MallPointsProductViewModel;
import com.mallcloud.mall.mall.api.entity.dto.ProPointsProductRedeem;
import com.mallcloud.mall.mall.api.entity.dto.ProRedeemItemBack;
import com.mallcloud.mall.mall.api.entity.vo.MallPointsProductViewVO;

import java.util.List;

/**
 * <p>
 * 积分商品 服务类
 * </p>
 */
public interface MallPointsProductViewService extends IService<MallPointsProductViewModel> {

	Page pagePointsProduct(Page<MallPointsProductViewVO> page, MallPointsProductViewModel param);

	MallPointsProductViewVO getInfo(MallPointsProductViewModel param);

	ProPointsProductRedeem redeemItem(ProPointsProductRedeem entity);

	void redeemItemBack(ProRedeemItemBack entity);

	ProPointsProductRedeem redeem(ProPointsProductRedeem entity);

	List<MallPointsProductViewModel> options(MallPointsProductViewModel model);

}
